package entities;

import services.impl.StandardOPs;
import java.util.List;
import java.util.LinkedList;
import java.util.ArrayList;
import java.util.Arrays;
import java.time.LocalDate;
import java.io.Serializable;
import java.lang.reflect.Method;

public class CheckInDevice implements Serializable {
	
	/* all primary attributes */
	private String DeviceId;
	private String Location;
	
	/* all references */
	private List<SessionRecord> DeviceToSessionRecord = new LinkedList<SessionRecord>(); 
	
	/* all get and set functions */
	public String getDeviceId() {
		return DeviceId;
	}	
	
	public void setDeviceId(String deviceid) {
		this.DeviceId = deviceid;
	}
	public String getLocation() {
		return Location;
	}	
	
	public void setLocation(String location) {
		this.Location = location;
	}
	
	/* all functions for reference*/
	public List<SessionRecord> getDeviceToSessionRecord() {
		return DeviceToSessionRecord;
	}	
	
	public void addDeviceToSessionRecord(SessionRecord sessionrecord) {
		this.DeviceToSessionRecord.add(sessionrecord);
	}
	
	public void deleteDeviceToSessionRecord(SessionRecord sessionrecord) {
		this.DeviceToSessionRecord.remove(sessionrecord);
	}
	


}
